home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: World of Education / PC-SiG's World of Education.iso / wor / disk0935.zip / LIST-MGR.DOC < prev    next >
Text File  |  1989-02-20  |  10KB  |  309 lines

  1.  
  2.               LIST-MGR.EXE
  3.               Version 2/89
  4.  
  5.           A Search and Retrieval Utility 
  6.            for list management.
  7.  
  8.              BIOLIT, Box 268 
  9.               131 NW 4th St.
  10.            Corvallis OR. 97330
  11.       
  12. You are invited to try LIST-MGR and to give copies to 
  13. others. Anyone who keeps the program should send $15 to the
  14. address above to avoid copyright infringement and to       
  15. register their use of the program ($20 for registration of
  16. both LIST-MGR and BIBLIO.  Registrants will be sent free 
  17. replacement programs if any major 'bugs' are found and 
  18. removed from the program within one year of registration 
  19. and will be offered low-cost updates if significantly 
  20. enhanced versions are developed. Suggestions for
  21. enhancements are invited.  
  22.  
  23. NOTE: Another Biolit program, BIBLIO.EXE, is similar to 
  24. LIST-MGR but is more specific in its application, being 
  25. intended for use with lists of bibliographic references.   
  26. It allows retrievals of records containing a specified       
  27. field/phrase combination, both of two field/phrase       
  28. combinations (Author-Keys, Author-textWord, Key-Key, or    
  29. Key-textWord;  textWord is a combined field consisting of  
  30. the Title, Keywords, and Notes fields). BIBLIO also provides
  31. the select-on-display, select-all-records, and reformatting
  32. options of LIST-MGR.
  33.  
  34.  
  35.           WHAT LIST-MGR DOES
  36.  
  37. LIST-MGR runs on computers using the PC- or MS-DOS operating
  38. system. It acts upon a pre-existing input text file 
  39. containing a list of records, each of which may include up 
  40. to 5 labeled fields.  It can accomplish either or both of
  41. two functions, REFORMATTING and RETRIEVAL.
  42.  
  43. REFORMATTING:  For multi-field records, the user may change
  44. the sequence in the output file of fields within records,  
  45. omitting or repeating fields as desired.
  46.  
  47. RETRIEVAL: Selected records are extracted from the input   
  48. list and sent to the output destination.  Records are     
  49. selected for retrieval according to one of the following
  50. criteria, as selected by the user:
  51.  
  52. 1) occurrence of a desired word or phrase (referred to       
  53. below as a 'phrase') in a specified field;
  54.  
  55. 2) occurrence of either of two desired field/phrase     
  56. combinations;
  57.  
  58. 3) occurrence of both of two field/phrase combinations;
  59.  
  60. 4) individual decision by the user when the first part 
  61. of each record is displayed; or
  62.  
  63. 5) retrieval of all records in the list (useful when       
  64. Reformatting).
  65.  
  66. OUTPUT: Output is to screen, printer, a new disk file, or
  67. any combination of these three output destinations. Field
  68. sequence in output records is selected by user.
  69.  
  70.             FIELD LABELS
  71. A general comment concerning the necessity of field labels
  72. (designated characters which mark the beginning of defined
  73. sections of each record) and of record separation is in order. 
  74.  
  75. If a computer is to make selections based on the content
  76. of different records and of different fields within those
  77. records, it must be able to detect where each record and
  78. each field begins and ends.  There are two approaches to
  79. providing the computer with this information:
  80.  
  81. 1) require that each record and each component fields be 
  82. of a defined length, with the fields occurring in a defined 
  83. sequence within the record. For example, each record can be 
  84. defined as 6 80-character lines with the first line holding 
  85. the name, the second the street address, etc.
  86.    The disadvantage of this approach is the rigid record
  87. format required, with that required format being the same
  88. for every record. Furthurmore, the defined maximum 
  89. record size must be set aside in memory for each record, 
  90. whether or not the individual record is that long.
  91.  
  92. 2) allow the different records to differ in length,
  93. in the number of fields contained, and in the sequence 
  94. of fields within the record by using tags to tell the 
  95. computer where each record and field begins and ends.
  96.    The disadvantage of this approach is that field and
  97. record markers must be inserted in the record list.
  98.  
  99. In developing LIST-MGR and BIBLIO, we decided that the
  100. greater flexibility of format allowed by the second
  101. method outweighed the inconvenience of requiring field 
  102. labels.
  103.  
  104.  
  105.         FORMAT FOR INPUT RECORD FILE:
  106.  
  107. 1. The pre-existing input file must not exceed 60000 
  108. characters and should be in ASCII text format without 
  109. non-printing control codes (save the file from Word Perfect,
  110. for example, by using Ctrl-F5), although in some cases 
  111. input files with non-printing codes will be handled 
  112. satisfactorily.
  113.  
  114. 2. Each record must be followed by an empty line.
  115.  
  116. 3. Every line within a single record must contain at least 
  117. one character or space. (If you want a line to appear to be 
  118. empty, simply put one or more spaces in it).
  119.  
  120. 4. The `{`  sign must not occur except as specified below.
  121.  
  122. 5. Any record may include any or all of 5 labeled fields,  
  123. in any order. Each field must begin at the left margin with
  124. a three-character label: a {, a digit (1-5), and a space.
  125.  
  126. 6. The number, length, or sequence of fields need not be   
  127. the same for different records.
  128.  
  129.             TECHNIQUE
  130.  
  131. On-screen directions should be adequate for your use of  
  132. LIST-MGR.  However, the following pointers may be of       
  133. interest.
  134.  
  135. SEARCH PHRASES: A search 'phrase' may be a word, word       
  136. fragment, or phrase up to 18 characters in length.
  137.  
  138. HOW MANY FIELDS:  There is no need for a given field to    
  139. contain only a single category of information. The entire   
  140. record can be in a single field, simplifying file       
  141. preparation, if (a) you will not need to change the record 
  142. format for the output file or (b) retrieval is desired no  
  143. matter where within the record your search phrase occurs.  
  144. On the other hand, if you will want to drop or move part of
  145. the record before output, or if some occurrences of the    
  146. search phrase should be ignored, additional fields will  
  147. need to be used.
  148.  
  149. Addition of more fields can sometimes be avoided by minor
  150. modification of the text within a field.  For example,       
  151. suppose that your records are single-field addresses and   
  152. you will want to retrieve on the basis of the first three  
  153. digits of the zip code (for example, 801). Because 801 may 
  154. also occur in a street number, false retrievals may occur. 
  155. This can be avoided by preceding your zip codes with a       
  156. period (.80004, for example).  You can then search for .801
  157. without needing to put zip codes in a separate field.
  158.  
  159. PUNCTUATION:  Punctuation, spacing, and upper/lower case must
  160. be the same in the search-phrase as in the input file for 
  161. a retrieval to occur. Judicious selection of search phrases
  162. will minimize false retrievals or false non-retrievals. 
  163. Examples: if you want retrieval whether or not the first 
  164. letter of a phrase is capitalized, omit that first letter 
  165. from your search phrase.  If you do not want retrieval if 
  166. a word is part of a larger word, include the preceding space. 
  167.  
  168. If a given part of your records can be in all caps, you    
  169. will eliminate uncertainty about case for that part (and   
  170. also avoid false retrievals from non-capitalized parts of  
  171. the record.)
  172.  
  173. RE-SELECTION:  The number of search phrases to be matched  
  174. before a record is to be finally selected is not limited to
  175. the two that can be entered at each pass: if field labels  
  176. are retained in the output file, that output file can then 
  177. be used (after being renamed) as the input file for       
  178. selection of a further sub-set of records. Using this       
  179. cascade technique, simultaneous  occurrence of any number  
  180. of field/phrase combinations may be assured before a record
  181. is finally selected.
  182.  
  183. OUTPUT FIELDS:    Sequence of fields within records of the 
  184. output file can differ from that of the input file. Fields
  185. can also be omitted or repeated, as desired.  Repetition
  186. of a field is sometimes useful if the output record must
  187. be padded with blank lines (to maintain record positions
  188. on mailing labels, for instance).  In this case, if one of
  189. field for each record is simply a blank line, this field
  190. can be repeated as often as needed in the output records.
  191.  
  192.              SAMPLE INPUT FILE
  193.  
  194. The very artificial short input file seen below is included
  195. on the distribution diskette as LIST-MGR.REF.  It suggests 
  196. some of the types of records which might be usefully       
  197. managed by LIST-MGR, including bibliographic references,   
  198. product specifications, and address lists.
  199.  
  200. Scan it now to identify possible search strategies (e.g.,  
  201. retrieve those records containing ZIP2 in field 1.  Then   
  202. type LIST-MGR for a trial run of the program.
  203.  
  204.               LIST-MGR.REF
  205.  
  206. {1 ADDRESSEE NAME
  207.    111 1ST STREET
  208.    CITY STATE .11111
  209. .
  210. .
  211. .
  212.  
  213. {2 NOTES CONCERNING THE ADDRESSEE. This field would be       
  214. omitted from the output file when generating an address    
  215. list to be used for typing mailing labels.
  216.  
  217. {1 ADDRESSEE 1
  218. STREET1 
  219. CITY1 STATE1 .ZIP1
  220. .
  221. .
  222.  
  223. {1 POTENTIAL DONOR 1   
  224. STREET2 
  225. CITY2 STATE2 ZIP2
  226. .
  227. .
  228. .
  229. {2 TELEPHONE: XXX-XXXX
  230. BIRTHYEAR: 1900-1910 
  231. INCOME: 20000-40000 
  232. POLITICS: DEMOCRAT INACTIVE 
  233. OCCUPATION: RETIRED
  234.  
  235. {1 CUSTOMER 1
  236. STREET3 
  237. CITY3 STATE3 ZIP3
  238. .
  239. .
  240. .
  241. {2 POTENTIAL SALES: COPIERS  PERSONAL COMPUTER    PRINTERS   
  242. RIBBONS  OFFICE SUPPLIES   OFFICE EQUIPMENT
  243. {3 PURCHASES:  KAYPRO PC 10 1987  C ITOH STARWRITER 1987
  244. {4 PAYMENT RECORD: GOOD  PERSONAL CHECKS
  245.  
  246. {1 STUDENT 1
  247. STREET4 
  248. CITY1 STATE1 ZIP1
  249. .
  250. .
  251. .
  252. {2 NOTES: ADVISOR: JOHN JONES  
  253.       MAJOR: VET MED
  254.       RESIDENCE: VAN ZILE HALL
  255.       FINANCIAL ASSISTANCE: PELL
  256.       FIRST TERM: FALL 87
  257.       ACADEMIC DEFICIENCIES: NONE
  258.  
  259. {1 SUBSCRIBER 1    8/88
  260. STREET5 
  261. CITY2 STATE2 ZIP2
  262. {2 RENEWALS: SINCE 8/82
  263.  
  264. {1 CLUB MEMBER 1    12/87
  265. STREET6 
  266. CITY3 STATE3 ZIP3
  267. .
  268. .
  269. .
  270. {2 TELEPHONE HOME 123-4567 WORK 123-5678
  271.    EMPLOYER: SUNRISE BOWL
  272.    OFFICER/BOARD: YES
  273.  
  274. {1 CLIENT 1
  275. STREET7 
  276. CITY1 STATE1 ZIP1
  277. .
  278. .
  279. .
  280. {2 NOTES
  281.  
  282. {1 SUPPLIER 1
  283. STREET8 
  284. CITY2 STATE2 ZIP2
  285. .
  286. .
  287. .
  288. {2 PRODUCTS: CANNED VEGETABLES    CANNED FRUIT  GENERAL       
  289.          GROCERIES     
  290. PAYMENT: 60 DAYS  90% REFUND ON RETURNS
  291. TELEPHONE: xxx-xxx-xxxx
  292.  
  293. {1 AUTHORS
  294. {2 TITLE 1
  295. {3 BIBLIOGRAPHOIC SOURCE
  296. {4 KEYWORDS
  297. {5 ABSTRACT
  298.  
  299. {1 AUTOMOBILE MAKE MODEL AND YEAR
  300.    LIST PRICE
  301.    WARRANTEE    
  302.    ENGINE 
  303.    CHASSIS
  304.    TIRES 
  305.  
  306.  
  307. YWORDS
  308. {5 AB